package com.zhongyu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhongyu.pojo.View;
import org.apache.ibatis.annotations.ResultMap;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * 库存预警
 */
public interface ViewMapper extends BaseMapper<View> {
     @Select("select * from smbms_view where shuliang<num")
    List<View> findAll();
}
